package com.mingqijia.gassafety.webserver.service.workorder;

import com.mingqijia.gassafety.db.entity.vo.UserServiceComboVO;
import com.mingqijia.gassafety.shared.response.HuiShengAddOrderResponse;
import com.mingqijia.gassafety.webserver.request.workorder.mbp.MbpOrderCreateRequest;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkRecordsList;

public interface SkWorkOrderService {
    /**
     * 自动创建工单
     * @param spId
     * @param mess
     */
    void autoCreateOrderByMsg(String spId,String mess);

    /**
     * 手动创建工单
     * @param params
     * @param spId
     * @return
     */
    Long manualCreateOrder(MbpOrderCreateRequest params,String spId);

    void createServiceComboOrder(String orderNo,
                            UserServiceComboVO userServiceComboVO,
                            ConsoleSkRecordsList skData,
                            int isAuto);
}
